package cn.pconline.autoclub.entity;

import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;

/**
 * @author wanganning
 */
@Entity(tableName = "ac_app_config")
public class AppConfig {

    @Id
    @Column(name = "config_id")
    private long configId; //配置ID
    @Column(name = "app_name")
    private String appName; //配置名称
    @Column(name = "app_key")
    private String appKey; //配置key
    @Column(name = "app_value")
    private String appValue; //配置值

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAppValue() {
        return appValue;
    }

    public void setAppValue(String appValue) {
        this.appValue = appValue;
    }

    public long getConfigId() {
        return configId;
    }

    public void setConfigId(long configId) {
        this.configId = configId;
    }

    @Override
    public String toString() {
        return "[" + this.getAppName() + "," + this.appKey + "," + this.appValue + "]";
    }
}
